package com.hnevc.androiduiclassone9;

/**
 * Created by Administrator on 2018/6/28.
 */

public class Person {

        private String name;
        private int age;
        private boolean married;

        public int getAge(){return  age;}
        public void setAge(int age){this.age = age;}
        public boolean isMarried(){return married;}
        public void setMarried(boolean married){this.married = married;}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}


